import { IForm } from "@/base-ui/form";

export const dialogConfig:IForm = {
  formItems: [
    {
      filed: "name",
      type: "input",
      label: "用户名",
      rules: [],
      placeholder: "请输入用户名",
    },
    {
      filed: "realname",
      type: "input",
      label: "真实姓名",
      rules: [],
      placeholder: "请输入真实姓名",
    },
    {
      filed: "password",
      type: "password",
      label: "密码",
      rules: [],
      placeholder: "请输入密码",
      isHidden:true
    },
    {
      filed: "cellphone",
      type: "input",
      label: "手机号码",
      rules: [],
      placeholder: "请输入手机号码",
    },
    {
      filed: "roleId",
      type: "select",
      label: "选择角色",
      rules: [],
      placeholder: "请选择状态",
      options: [],
    },
    {
      filed: "departmentId",
      type: "select",
      label: "选择部门",
      rules: [],
      placeholder: "请选择状态",
      options: [
       
      ],
    },
  ],
  colLayout: {
    xs: 24,
  },
  labelWidth: '85px',
  formStyle: {
   padding: "5px 25px" 
  },
  
};
